<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table class="easyui-datagrid" data-options="
	url:'student/page',
	fitColumns:true,
	fit:true,
	idField:'id',
	pagination:true,
	singleSelect:true,
	pageSize:30,
	pageList:[30,50,100],
	dialog: {
		name:'学生' ,
		url:'student',
		create:{
			name:'新增',
			width:400 ,
			height: 350
		} ,
		update: {
			width:400,
			height:400
		},
		search: {
			width:400 ,
			height: 400
		}
	},
	toolbar:[
		'-',$.crudgrid.buttons.create,
		'-',$.crudgrid.buttons.update,
		'-',$.crudgrid.buttons.remove,
		'-',$.crudgrid.buttons.search,
		'-',$.crudgrid.buttons.refresh,'-']
">
	<thead>
		<tr>
			<th width="100" data-options="field:'id',hidden:true">ID</th>
			<th width="100" data-options="field:'tbClass',formatter:function(value){return value.name;}">班级</th>
			<th width="100" data-options="field:'username'">学号</th>
			<th width="100" data-options="field:'name'">姓名</th>
			<th width="100" data-options="field:'sex'">性别</th>
			<th width="100" data-options="field:'born'">生日</th>
			<th width="100" data-options="field:'job'">职务</th>
		</tr>
	</thead>
</table>
</body>
</html>